<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <p>hello word!!!hahahahahahakashdfkjhasdf</p>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <script src="./javascripts/index.js"></script>
    <script>
       
        // async function  getRes(){
        //     let res = await $.ajax("http://localhost:8888/zc");
        //     console(res);
        //     return res;
        // }
        
        let res =  $.ajax("http://localhost:8888/mz"); 

        res.then(function(res){
            console.log(res);
        })
        // window.onload =function(){
        //     res.then(function(res){
        //         console.log(res);
        //     })  
        // }
        // let res = await getRes();
        // console.log(res);
        // let res = await getRes();
        // window.onload = function(){
        //     console.log(re);
        // }
      
        // async function regetRes(){
        //     let res = await getRes();
        //     console.log(res);
        // }
        // regetRes();
        //测试了一下
        // 测试而下
    </script>
</body>
</html>